package com.jlcindia.spring;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class HaiConfig {
	public HaiConfig(){
		System.out.println("HaiConfig-Spring Container is now getting ready...");
	}
	
	@Bean(name="hai")
	public Hai getHai(){
		System.out.println("getHai()");
		return new Hai();
	}
}